#!/bin/bash

PROXY="127.0.0.1:6153"

DESTINATION="root@47.242.106.56"
DESTINATION_DIR="/var/www/html/stall-server"

SOURCE_DIR="dist"

echo 'Start deploy'
echo 'Deploying...'
ssh -o ProxyCommand="nc -x $PROXY %h %p" $DESTINATION "cd $DESTINATION_DIR && git pull origin dev"
echo "Deployed successfully"
